﻿using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace EpicBall.ScreenSystem
{
    public class ExitBtn : MenuButton
    {
        public ExitBtn(MenuScreen menu, GameScreen screen, Texture2D sprite, Vector2 position) : base(menu, screen, sprite, position) { }
        public override void ButtonClicked()
        {
            _menu.GameStack.Game.Exit();
        }
    }
}
